package cn.edu.thu.laud.jdbc.hivecassandra;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.Properties;

import org.apache.hadoop.hive.jdbc.HiveDriver;
/**
 * a customed HiveDriver which hide the connection() function. 
 * @author hxd
 *
 */
public class HideHiveDriver extends HiveDriver {
	@Override
	public Connection connect(String url, Properties props) throws SQLException {
		//return super.connect(url, props);
		throw new SQLException("the method is  hide.");
	}
}
